import { PartialType } from '@nestjs/mapped-types';
import { IsNumber } from 'class-validator';
import { CreateDictDataDto } from './create-dict-data.dto';

export class UpdateDictDataDto extends PartialType(CreateDictDataDto) {
  @IsNumber({}, { message: '字典数据ID必须是数字' })
  dictDataId: number;
}
